package com.txsj.scan.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by wangchuangjun on 2018/11/28
 * Desc: todo :切记不可以把WarehouseBean当序列化去使用，它有一个不可序列化的参数epclist
 */


public class WarehouseBean implements Serializable {

    /**
     * warehouse_id : 100103
     * brand_id : 2
     * warehouse_name : 默认仓库
     * warehouse_intro : 系统默认仓库
     * warehouse_type : 0
     * belong_id : 235500
     * is_show : true
     * add_time : 2018-10-20 09:47:07
     */

    private int warehouse_id;
    private int brand_id;
    private String warehouse_name;
    private String warehouse_intro;
    private int warehouse_type;
    private int belong_id;
    private boolean is_show;
    private String add_time;

    private long count;  //本地变量记录个数
    private List<EpcInfo> epcList;//本地记录EpcInfo

    public List<EpcInfo> getEpcList() {
        return epcList;
    }

    public void setEpcList(List<EpcInfo> epcList) {
        this.epcList = epcList;
    }

    public long getCount() {
        return count;
    }

    public void addEpcInfo(EpcInfo epcInfo){
        this.epcList.add(epcInfo);
    }

    public void clearList(){
        if (null != epcList){
            epcList.clear();
        }
    }

    public void setCount(long count) {
        this.count = count;
    }

    public int getWarehouse_id() {
        return warehouse_id;
    }

    public void setWarehouse_id(int warehouse_id) {
        this.warehouse_id = warehouse_id;
    }

    public int getBrand_id() {
        return brand_id;
    }

    public void setBrand_id(int brand_id) {
        this.brand_id = brand_id;
    }

    public String getWarehouse_name() {
        return warehouse_name;
    }

    public void setWarehouse_name(String warehouse_name) {
        this.warehouse_name = warehouse_name;
    }

    public String getWarehouse_intro() {
        return warehouse_intro;
    }

    public void setWarehouse_intro(String warehouse_intro) {
        this.warehouse_intro = warehouse_intro;
    }

    public int getWarehouse_type() {
        return warehouse_type;
    }

    public void setWarehouse_type(int warehouse_type) {
        this.warehouse_type = warehouse_type;
    }

    public int getBelong_id() {
        return belong_id;
    }

    public void setBelong_id(int belong_id) {
        this.belong_id = belong_id;
    }

    public boolean isIs_show() {
        return is_show;
    }

    public void setIs_show(boolean is_show) {
        this.is_show = is_show;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }
}
